Skip to content

fix(select): make @Output names consistent #6677 - #7160

Closed
amcdnl wants to merge 6 commits into
angular:masterfrom
amcdnl:select-outputs-6677
Closed

amcdnl wants to merge 6 commits into
angular:masterfrom
amcdnl:select-outputs-6677

Conversation

@amcdnl

@amcdnl amcdnl commented Sep 19, 2017

Copy link
Copy Markdown
Contributor

Updated APIs per #6677

  • onOpen to opened
  • onClose to closed
  • change to selectionChange

@amcdnl amcdnl self-assigned this Sep 19, 2017
@amcdnl
amcdnl requested a review from jelbourn September 19, 2017 01:07
@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Sep 19, 2017
@jelbourn jelbourn changed the title chore(api): update output api #6677 fix(select): update output api #6677 Sep 19, 2017
Comment thread src/lib/select/select.ts Outdated

/** Event emitted when the select has been opened. */
@Output() onOpen: EventEmitter<void> = new EventEmitter<void>();
@Output() opened: EventEmitter<void> = new EventEmitter<void>();

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we make this consistent with sidenav and just have one openedChange?
Thoughts @kara @crisbeto?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's fine by me, we just have to make sure to mark it as a breaking change.

@crisbeto crisbeto left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code-wise LGTM, pending a decision on what to do with the openedChange.

@jelbourn jelbourn added the P1 Impacts a large percentage of users; if a workaround exists it is partial or overly painful label Sep 22, 2017
@amcdnl

amcdnl commented Sep 24, 2017

Copy link
Copy Markdown
Contributor Author

@jelbourn - let me know what you want to do regarding that.

@jelbourn

Copy link
Copy Markdown
Contributor

If we're making the sidenav openChange then we should do that here too

@amcdnl

amcdnl commented Sep 30, 2017

Copy link
Copy Markdown
Contributor Author

@jelbourn - should be good to go now.

@jelbourn jelbourn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jelbourn jelbourn added pr: lgtm action: merge The PR is ready for merge by the caretaker merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note labels Oct 24, 2017
@jelbourn

jelbourn commented Oct 24, 2017 •

Copy link
Copy Markdown
Contributor

Caretaker note: should be completely backwards compatible, so if something fails there's a bug

@amcdnl amcdnl changed the title fix(select): update output api #6677 fix(select): make @Output names consistent #6677 Oct 25, 2017
@amcdnl

amcdnl commented Oct 26, 2017

Copy link
Copy Markdown
Contributor Author

closing in favor of #8052

@amcdnl amcdnl closed this Oct 26, 2017
@amcdnl
amcdnl deleted the select-outputs-6677 branch October 26, 2017 18:59
@angular-automatic-lock-bot

Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Sep 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker cla: yes PR author has agreed to Google's Contributor License Agreement merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note P1 Impacts a large percentage of users; if a workaround exists it is partial or overly painful

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants